#include <stdio.h>
#include <pthread.h>
void *func1 (void *arg) {
	printf ("func1 is running...\n");
	return (void *)1;
}
int main(int argc, char **argv)
{
	pthread_t tid;
	void *ret;
	pthread_create (&tid, NULL, func1, NULL);
	pthread_join (tid, &ret);
	printf ("func1 eait code is %d\n", (int)ret);
	return 0;
}

